package com.yjyw.tiexie.bean;

import java.util.List;

public class ClassListLoginBean {

    /**
     * success : true
     * code : 1
     * message : 操作成功！
     * data : [{"id":1,"className":"老三的班级"},{"id":2,"className":"老四的班级"}]
     */

    private boolean success;
    private int code;
    private String message;
    private List<DataBean> data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * className : 老三的班级
         */

        private long id;
        private String className;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getClassName() {
            return className;
        }

        public void setClassName(String className) {
            this.className = className;
        }
    }
}
